import React, { useEffect } from 'react'
import { View, Text } from '@tarojs/components'
// import { getCurrentInstance } from '@tarojs/taro'
import { $ } from '@tarojs/extend'

export default function Detail() {
  
  useEffect(() => {
    // const $instance = getCurrentInstance()
    // console.log($instance.router.params.id)
    $('#myview').addClass('aaa')
  }, [])

  return (
    <View id='myview'>
      <Text>detail</Text>
      <pc></pc>
    </View>
  )
}
